package com.sinven.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * NideshopBrand entity. @author MyEclipse Persistence Tools
 */
/**
 * 李志伟
 * 反向生成
 */
@Entity
@Table(name = "nideshop_brand", catalog = "csf")
public class Brand implements java.io.Serializable {

    // Fields

    private Integer id;
    private String name;
    private String listPicUrl;
    private String simpleDesc;
    private String picUrl;
    private Boolean isShow;
    private Double floorPrice;

    // Constructors

    /** default constructor */
    public Brand() {

    }

    /** full constructor */
    public Brand(String name, String listPicUrl, String simpleDesc,
                         String picUrl, Boolean isShow, Double floorPrice) {
        this.name = name;
        this.listPicUrl = listPicUrl;
        this.simpleDesc = simpleDesc;
        this.picUrl = picUrl;
        this.isShow = isShow;
        this.floorPrice = floorPrice;
    }

    // Property accessors
    @Id
    @GeneratedValue
    @Column(name = "id", unique = true, nullable = false)
    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Column(name = "name")
    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "list_pic_url")
    public String getListPicUrl() {
        return this.listPicUrl;
    }

    public void setListPicUrl(String listPicUrl) {
        this.listPicUrl = listPicUrl;
    }

    @Column(name = "simple_desc")
    public String getSimpleDesc() {
        return this.simpleDesc;
    }

    public void setSimpleDesc(String simpleDesc) {
        this.simpleDesc = simpleDesc;
    }

    @Column(name = "pic_url")
    public String getPicUrl() {
        return this.picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    @Column(name = "is_show")
    public Boolean getIsShow() {
        return this.isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    @Column(name = "floor_price", precision = 10)
    public Double getFloorPrice() {
        return this.floorPrice;
    }

    public void setFloorPrice(Double floorPrice) {
        this.floorPrice = floorPrice;
    }

}